<%@ page language="java" contentType="text/html; charset=utf-8 "
    pageEncoding="utf-8"%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <base href="<%=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/" %>"/>
    <meta charset="utf-8" />
    <title>信息采集系统-后台管理</title>
</head>
<style type="text/css">
			body{
		color: #555;
		background-color: rgba(0, 0, 0, 0.08);
		font-size: 80%;
			}
			.lid{
				background-color: #199ed8;
				width: 100%;
				height: 15%;
				position: absolute;
			}
			input{
			    border: 1px solid #ccc;
			    padding: 7px 0px;
			    border-radius: 3px;
			    padding-left:5px;
			    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
			    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
			    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
			    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
			    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s
			}
			input:focus{
			        border-color: #66afe9;
			        outline: 0;
			        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
			        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
					background: #CCCCCC;
			}
			.login-box{
				width: 20%;
				height: 40%;
				background: white;
				position: absolute;
				top: 30%;
				left: 70%;
				box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 4px 0px;
				border-radius: 10px;
				opacity:0.8;
				padding-bottom: 3px;
				text-align: center;
			}
			button{
				margin:5px;
				background: #199ED8;
				font-size: 100%;
				color: white;
				width: 50%;
				height: 30px;
				border: 0px;
				border-radius: 5px;
			}
	</style>
<body>
<div><img src="${pageContext.request.contextPath}/image/banner.jpg" width="100%"  height="60%"/></div>
<div class="lid"></div>
<div class="login-box">
    <h1 style="margin:5%;">请登录系统</h1>
    <form action="AdminLogin" method="post">
        <input type="text" name="username" id="username" placeholder="账号"/><br /><br />
        <input type="password" name="password" id="password" placeholder="输入密码"/><br /><br />
        <span><input type="text" name="vCode" id="vCode" placeholder="验证码" size="4"  name="vCode" id="vCode"/></span><span><img src="getcaptcha.sl"  name="checkImg" id="checkImg" style="position:relative; top:5px; left:20px;"onClick="document.getElementById('checkImg').src='getcaptcha.sl?temp='+ (new Date().getTime().toString(36)); return false"/></span><br />
        <span id="msg">
         <%
                       		String msg=null;

                       		if(request.getParameter("msg")!=null){
                       			if((msg=new String(request.getParameter("msg").getBytes("UTF-8"),"UTF-8"))!=null){
                       	%>
                       		<font color="red"><%=msg %></font>
                       	<%} }%></span><br />
        <button type="submit">登录</button>
    </form>
</div>
</body>
</html>